import { axios } from '@/utils/request'
export function collectionList(params) {   //节假日
    return axios({
        url: '/school/wallets/collection',
        method: 'post',
        data: params
    })
}
export function collectionExport(params) {   
    return axios({
        url: '/school/wallets/collection-export',
        method: 'get',
        params:params
    })
}
export function withdrawalList(params) {   
    return axios({
        url: '/school/wallets/withdrawal',
        method: 'post',
        data: params
    })
}
export function withdrawalExport(params) {   
    return axios({
        url: '/school/wallets/withdrawal-export',
        method: 'get',
        params:params
    })
}
export function collectionSum(params) {   
    return axios({
        url: '/school/wallets/collection-sum',
        method: 'post',
        data:params
    })
}
// 银行卡信息
export function bankCards(params) {   
    return axios({
        url: '/school/bank-cards',
        method: 'post',
        data:params
    })
}
export function editCards(params) {   
    return axios({
        url: `/school/bank-cards/${params.id}/update`,
        method: 'post',
        data:params
    })
}
export function addCards(params) {   
    return axios({
        url: `/school/bank-cards/create`,
        method: 'post',
        data:params
    })
}
export function delCards(id) {   
    return axios({
        url: `/school/bank-cards/${id}/delete`,
        method: 'post',
        // data:params
    })
}
//提现
export function withdrawalAdd(params) {   
    return axios({
        url: `/school/wallets/withdrawal-add`,
        method: 'post',
        data:params
    })
}